package com.hxx.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.CrossOrigin;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @Author Hxx
 * @Description //TODO
 * @Date 10:32 2020/5/17
 * @Param
 * @return
 **/
@SpringBootApplication
@MapperScan("com.hxx.demo.*")
@EnableSwagger2
@CrossOrigin(origins = "*", allowCredentials = "true")
public class CollegeSecurityApplication {

    public static void main(String[] args) {
        SpringApplication.run(CollegeSecurityApplication.class, args);
    }


}
